package com.masterstroke.template.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.masterstroke.template.pojo.domain.Order;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;


/**
* @author 35925
* @description 针对表【order】的数据库操作Mapper
* @createDate 2024-12-16 17:28:07
* @Entity com.masterstroke.template.pojo.domain.Order
*/
public interface OrderMapper extends BaseMapper<Order> {
   @Select("select * from r_order where user_id=#{userId}")
    List<Order> getOrderByUserId(String userId);
}
